$input-height: 38px;

input ,button{
    border: 0;
    padding: 0;
    border-radius: 2px;
}

input {
    // color: #bbb;
    outline: none;
    text-indent: 40px;
}

.login-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    .picture {
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        // background-color: red;
        img {
            width: 100%;
            height: 100%;
            max-width: 100%;
            max-height: 100%;
            // object-fit: cover; //不让图片比例失调
            
            
        }
    }
    .login-main {
        width: 335px;
        position: absolute;
        left: 50%;
        top: 252px;
        transform: translate(-50%,-50%);
        // background-color: aqua;
        padding: 20px;
        h1 {
            letter-spacing: 0.5rem;
            font-weight: 400;
            color: #fff;
            text-align: center;
            margin-bottom: 30px;
        }
        .username {
            margin: 15px 0;
            position: relative;
            i {
                color: #d2d2d2;
                position: absolute;
                left: 10px;
                top: 11px;
            }
            input {
                width: 100%;
                height: $input-height;
            }
        }
        .password {
            margin: 10px 0;
            position: relative;
            i {
                color: #d2d2d2;
                position: absolute;
                left: 10px;
                top: 11px;
            }
            input {
                width: 100%;
                height: $input-height;
            }
        }
        .code {
            margin: 10px 0;
            display: flex;
            justify-content: space-between;
            position: relative;
            i {
                color: #d2d2d2;
                position: absolute;
                left: 10px;
                top: 11px;
            }
            input {
                height: $input-height;
                width: 195px;
            }
            .code-img {
                height: $input-height;
                width: 130px;
                background-color: #eee;
                img {
                    width: 100%;
                }
            }
        }
        button {
            height: $input-height;
            width: 100%;
            background: #d35b3d;
            color: #fff;
            
        }
    }
}